package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Build entity. @author MyEclipse Persistence Tools
 */

public class Build implements java.io.Serializable {

	// Fields

	private Integer buildId;
	private Company companyByBelongCompany;
	private Company companyByContractor;
	private Area area;
	private Company companyByUseCompany;
	private Short assertType;
	private String assertName;
	private String specAndType;
	private Short coverType;
	private Short controlType;
	private String number;
	private Float buildArea;
	private Float coveredArea;
	private Float originValue;
	private Short depreciationState;
	private Float depreciationRate;
	private Boolean assertBelong;
	private String assertUse;
	private Short assertSource;
	private Date buildDate;
	private Date recordedDate;
	private Short useState;
	private String note;
	private Set buildrents = new HashSet(0);
	private Set storages = new HashSet(0);
	private Set storageareas = new HashSet(0);
	private Set builddepreciations = new HashSet(0);

	// Constructors

	/** default constructor */
	public Build() {
	}

	/** full constructor */
	public Build(Company companyByBelongCompany, Company companyByContractor, Area area, Company companyByUseCompany,
			Short assertType, String assertName, String specAndType, Short coverType, Short controlType, String number,
			Float buildArea, Float coveredArea, Float originValue, Short depreciationState, Float depreciationRate,
			Boolean assertBelong, String assertUse, Short assertSource, Date buildDate, Date recordedDate,
			Short useState, String note, Set buildrents, Set storages, Set storageareas, Set builddepreciations) {
		this.companyByBelongCompany = companyByBelongCompany;
		this.companyByContractor = companyByContractor;
		this.area = area;
		this.companyByUseCompany = companyByUseCompany;
		this.assertType = assertType;
		this.assertName = assertName;
		this.specAndType = specAndType;
		this.coverType = coverType;
		this.controlType = controlType;
		this.number = number;
		this.buildArea = buildArea;
		this.coveredArea = coveredArea;
		this.originValue = originValue;
		this.depreciationState = depreciationState;
		this.depreciationRate = depreciationRate;
		this.assertBelong = assertBelong;
		this.assertUse = assertUse;
		this.assertSource = assertSource;
		this.buildDate = buildDate;
		this.recordedDate = recordedDate;
		this.useState = useState;
		this.note = note;
		this.buildrents = buildrents;
		this.storages = storages;
		this.storageareas = storageareas;
		this.builddepreciations = builddepreciations;
	}

	// Property accessors

	public Integer getBuildId() {
		return this.buildId;
	}

	public void setBuildId(Integer buildId) {
		this.buildId = buildId;
	}

	public Company getCompanyByBelongCompany() {
		return this.companyByBelongCompany;
	}

	public void setCompanyByBelongCompany(Company companyByBelongCompany) {
		this.companyByBelongCompany = companyByBelongCompany;
	}

	public Company getCompanyByContractor() {
		return this.companyByContractor;
	}

	public void setCompanyByContractor(Company companyByContractor) {
		this.companyByContractor = companyByContractor;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Company getCompanyByUseCompany() {
		return this.companyByUseCompany;
	}

	public void setCompanyByUseCompany(Company companyByUseCompany) {
		this.companyByUseCompany = companyByUseCompany;
	}

	public Short getAssertType() {
		return this.assertType;
	}

	public void setAssertType(Short assertType) {
		this.assertType = assertType;
	}

	public String getAssertName() {
		return this.assertName;
	}

	public void setAssertName(String assertName) {
		this.assertName = assertName;
	}

	public String getSpecAndType() {
		return this.specAndType;
	}

	public void setSpecAndType(String specAndType) {
		this.specAndType = specAndType;
	}

	public Short getCoverType() {
		return this.coverType;
	}

	public void setCoverType(Short coverType) {
		this.coverType = coverType;
	}

	public Short getControlType() {
		return this.controlType;
	}

	public void setControlType(Short controlType) {
		this.controlType = controlType;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Float getBuildArea() {
		return this.buildArea;
	}

	public void setBuildArea(Float buildArea) {
		this.buildArea = buildArea;
	}

	public Float getCoveredArea() {
		return this.coveredArea;
	}

	public void setCoveredArea(Float coveredArea) {
		this.coveredArea = coveredArea;
	}

	public Float getOriginValue() {
		return this.originValue;
	}

	public void setOriginValue(Float originValue) {
		this.originValue = originValue;
	}

	public Short getDepreciationState() {
		return this.depreciationState;
	}

	public void setDepreciationState(Short depreciationState) {
		this.depreciationState = depreciationState;
	}

	public Float getDepreciationRate() {
		return this.depreciationRate;
	}

	public void setDepreciationRate(Float depreciationRate) {
		this.depreciationRate = depreciationRate;
	}

	public Boolean getAssertBelong() {
		return this.assertBelong;
	}

	public void setAssertBelong(Boolean assertBelong) {
		this.assertBelong = assertBelong;
	}

	public String getAssertUse() {
		return this.assertUse;
	}

	public void setAssertUse(String assertUse) {
		this.assertUse = assertUse;
	}

	public Short getAssertSource() {
		return this.assertSource;
	}

	public void setAssertSource(Short assertSource) {
		this.assertSource = assertSource;
	}

	public Date getBuildDate() {
		return this.buildDate;
	}

	public void setBuildDate(Date buildDate) {
		this.buildDate = buildDate;
	}

	public Date getRecordedDate() {
		return this.recordedDate;
	}

	public void setRecordedDate(Date recordedDate) {
		this.recordedDate = recordedDate;
	}

	public Short getUseState() {
		return this.useState;
	}

	public void setUseState(Short useState) {
		this.useState = useState;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Set getBuildrents() {
		return this.buildrents;
	}

	public void setBuildrents(Set buildrents) {
		this.buildrents = buildrents;
	}

	public Set getStorages() {
		return this.storages;
	}

	public void setStorages(Set storages) {
		this.storages = storages;
	}

	public Set getStorageareas() {
		return this.storageareas;
	}

	public void setStorageareas(Set storageareas) {
		this.storageareas = storageareas;
	}

	public Set getBuilddepreciations() {
		return this.builddepreciations;
	}

	public void setBuilddepreciations(Set builddepreciations) {
		this.builddepreciations = builddepreciations;
	}

}